package com.yyh;
public class Test1 {
    public static void main(String[] args) {
        //定义一个坐标类
        Point p1 = new Point(0,0);
        Point p2 = new Point(3,4);
        System.out.println("两点之间的距离是："+p1.pp(p2));
    }


}
